import { action, observable } from "mobx";
// import TableInfoModel from "../models/userInfo";

interface TableInfoModel {
   name: string
}

 export class TableInfoStore {
  @observable.deep tableInfo: TableInfoModel = {
     name: 'test'
  }; //深度监听userInfo对象

  @action setUserInfo(val: TableInfoModel) {
    // action更新用户信息
    this.tableInfo=val
  }
}
export default new TableInfoStore();
